import { request } from '@/framework/utils/request-jdz';

// 获取打印信息
export const getLabelPrinting = (id) => {
  return request(
    {
      url: `/device/record/${id}/detail`,
      method: 'get',
    },
    {
      isGetDataDirectly: false,
    },
  );
};
// 获取盒子信息
export const getBoxInfo = (data) => {
  return request(
    {
      url: '/storage/box/epc',
      method: 'post',
      data: data,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
